package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.entity.UserInfo;

public interface IUserServer extends IService<UserInfo>{
	
	public UserInfo signup(String phone,String password,String code,String qq);
	
	
	public UserInfo findUserInfo(String username);
	
	
	public boolean vaildateReset(String phone);
	
	public int resetPassword(String phone,String password);
	
	/**
	 * 
	 * validateCode:校验手机号码. <br/>  
	 * 
	 * @author tomcat
	 * @param phone
	 * @param code
	 * @return 
	 * @since JDK 1.8
	 * date: 2022年4月2日 下午1:57:28 <br/>
	 */
	public boolean validateCode(String phone,String code);
	
	

}
